﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="member_rent.aspx.cs" Inherits="member_rent" %>

<%@ Register Src="UserControl/MemberMenu.ascx" TagName="MemberMenu" TagPrefix="uc1" %>
<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="css/NewCss.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div id="All-Table">
  <div id="Title-Line">
    <h2>我的出租資訊</h2>
  </div>
  <uc1:MemberMenu ID="memberMenu" runat="server" />
  
  <table border="0" cellpadding="0" cellspacing="0" class="Member-Table">
    <tr>
      <td height="52" colspan="5"><a href="member_rent_create.aspx"><div class="Btn-New1">新增商店</div></a></td>
      </tr>
    <tr>
      <td width="450" class="Member-Title">出租商店名稱</td>
      <td width="170" valign="middle" class="Member-Title">隸屬專案</td>
      <td width="110" valign="middle" class="Member-Title">狀　　態</td>
      <td width="110" valign="middle" class="Member-Title">編　　輯</td>
      <td width="110" valign="middle" class="Member-Title2">刪　　除</td>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" OnItemCommand="Repeater1_ItemCommand1">
        <ItemTemplate>
    <tr>
      <td class="Member-Stitle">
          <asp:HyperLink ID="aCase" runat="server" ><%# Eval("Title")%></asp:HyperLink></td>
      <td class="Member-Stitle2"><asp:Label ID="lblCaseName" runat="server" Text=''></asp:Label></td>
      <td class="Member-Stitle2"><asp:Label ID="lblStatus" runat="server" Text='<%# Eval("GetStr_BidStatus")%>'></asp:Label></td>
      <td class="Member-Stitle3a">
          <asp:HyperLink ID="aEdit" runat="server"><img src="image/member-btn1.png" width="71" height="27" /></asp:HyperLink></td>
      <td class="Member-Stitle3"><asp:LinkButton ID="aDelete" runat="server" OnClientClick="return confirm('確定刪除?')" CommandArgument='<%# Eval("PostId") %>'
                                CommandName="myDelete" CausesValidation="False"><img src="image/member-btn2.png" width="71" height="27" /></asp:LinkButton></td>
    </tr>
        </ItemTemplate>
    </asp:Repeater>
    <tr>
      <td height="52" colspan="5"><a href="member_rent_create.aspx"><div class="Btn-New1">新增商店</div></a></td>
      </tr>
    </table>
  <div id="PageNumber">
        <Webdiyer:AspNetPager ID="AspNetPager1" runat="server" Height="28px"
            OnPageChanged="AspNetPager1_PageChanged" PageIndexBoxType="TextBox" PageSize="15"
            ShowPageIndexBox="Never" ShowFirstLast="true"
            FirstPageText="<p class='PageNumber-01'>第一頁</p>" LastPageText="<p class='PageNumber-01'>最末頁</p>"
            PrevPageText="<p class='PageNumber-01'>上一頁</p>" NextPageText="<p class='PageNumber-01'>下一頁</p>" NumericButtonTextFormatString="<p class='PageNumber-01'>{0}</p>" />
    </div>
</div>
</asp:Content>

